package com.zjc.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author 周佳成
 * @since 2023-09-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DromAdmin implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 宿管编号
     */
    @TableId(value = "sg_id", type = IdType.AUTO)
    private Integer sgId;

    /**
     * 楼栋编号
     */
    private Integer ldId;

    /**
     * 宿管姓名
     */
    private String sgName;

    /**
     * 性别
     */
    private String sgSex;

    /**
     * 宿管密码
     */
    private String sgPassword;

    /**
     * 宿管入职时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",locale = "zh", timezone = "GMT+8")
    private Date sgRzdate;

    /**
     * 宿管身份证号
     */
    private String sgSfid;

    /**
     * 宿管就职状态
     */
    private Boolean sgStatus;

    /**
     * 宿管联系方式
     */
    private String sgPhone;


}
